﻿using System.Linq;
using InseSoft.Models.Entities;

namespace InseSoft.Models.DbSetExtensions
{
    public static class EntidadCatalogoDbSetExtensions
    {
        public static IQueryable<CatalogEntity> GetActive(this IQueryable<CatalogEntity> records)
        {
            return records.Where(i => i.Activo);
        }
    }
}
